var mysql = require("mysql2");

function createConnection() {
    var connection = mysql.createConnection({
        host: '192.168.0.106',
        port: '3306',
        user:'root',
        password: 'sql123',
        database: 'myblog'
    });
    return connection;
}
module.exports.createConnection = createConnection;